package design.b3_decorator;

/**
 * 具体装饰者，为原有工具新增功能
 */
public class ToolConcreteDecorator extends ToolDecorator {


	public ToolConcreteDecorator(ToolComponent toolComponent) {
		super(toolComponent);
	}

	public void doJob() {
		super.doJob();
		addedFunction();
	}

	/**
	 * 新增功能
	 */
	public void addedFunction() {
		System.out.println("新增功能：贴膜~");
	}

}
